package cn.dcp.muck.service;

import cn.dcp.muck.entity.SysDict;
import com.github.pagehelper.PageInfo;
import  cn.dcp.muck.common.entity.Paging;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author henrycao
 * @email 631079326@qq.com
 * @date 2017-06-12 23:15:41
 */
public interface SysDictService {

    SysDict queryObject(String id);

    List<SysDict> queryList(Map<String, Object> map);

    PageInfo<SysDict> findPage(Paging page, SysDict sysDict);

    /**
     * 查询列表
     *
     * @param page  分页信息
     * @param query 查询条件
     * @return 用户 page info
     */
    PageInfo<SysDict> queryPage(Paging page, Map<String, Object> query);

    SysDict save(SysDict sysDict);

    void deleteById(String id);

    void delete(SysDict sysDict);
}
